#include "tcp_serve.hpp"

int main(int argc,char* argv[])
{
#ifdef MYDAEMON
    tr::daemon();
#endif
    uint16_t port = atoi(argv[1]);
    tr::tcp_serve tser(htons(port));

    tser.start();

    for(;;)pause();

    return 0;
}
